package cn.edu.sgu.www.mhxysy.service.role.impl;

import cn.edu.sgu.www.mhxysy.mapper.role.RoleConfigFabaoMapper;
import cn.edu.sgu.www.mhxysy.service.role.RoleConfigFabaoService;
import cn.edu.sgu.www.mhxysy.vo.fabao.FabaoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Service
public class RoleConfigFabaoServiceImpl implements RoleConfigFabaoService {

    private final RoleConfigFabaoMapper roleConfigFabaoMapper;

    @Autowired
    public RoleConfigFabaoServiceImpl(RoleConfigFabaoMapper roleConfigFabaoMapper) {
        this.roleConfigFabaoMapper = roleConfigFabaoMapper;
    }

    @Override
    public List<FabaoVO> selectByConfigId(Integer configId) {
        return roleConfigFabaoMapper.selectByConfigId(configId);
    }

}